public class YW_RedheadDuck implements YW_Quackable {
	YW_Observable observable;

	public YW_RedheadDuck() {
		observable = new YW_Observable(this);
	}

	public void quack() {
		System.out.println("Quack");
		notifyObservers();
	}

	public void registerObserver(YW_Observer observer) {
		observable.registerObserver(observer);
	}

	public void notifyObservers() {
		observable.notifyObservers();
	}

	public String toString() {
		return "Redhead Duck";
	}
}